import request from '@/helpers/request';

export const reqRegister = (params) => {
  return request('api/user/register', {
    method: 'post',
    params,
  });
};

export const reqLogin = (params) => {
  return request('/api/user/login', {
    method: 'POST',
    params,
  });
};

export const reqGetMessage = () => {
  //车辆信息请求
  return request('/api/vehicle/select', {
    method: 'GET',
  });
};
